<template>
  <p class="">userinfo</p>
  <div class="" v-loading="auth.pending">
    <p class="">token：{{ auth.token }}</p>
    <p class="">
      user：
      {{ auth.user }}
    </p>
  </div>
  <el-button @click="auth.fetchUser()">刷新</el-button>
</template>
<script setup lang="ts">
definePageMeta({
  // auth: false,
});

const auth = useAuth();
</script>
